//
//  movieTableViewCell.m
//  ui豆瓣
//
//  Created by lirui on 15/12/23.
//  Copyright © 2015年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import "movieTableViewCell.h"

@implementation movieTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [ super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        //底部图片
        self.bottomview=  [[ UIImageView alloc] init];
        [self.contentView addSubview:self.bottomview];
        self.bottomview .image = [ UIImage imageNamed:@"bg_eventlistcell"];
        
        self.titlelabel =[[  UILabel alloc] init];
        [self.contentView addSubview:self.titlelabel];
       // _titlelabel.backgroundColor = [ UIColor redColor];
        self.movieimg  = [[ UIImageView alloc] init];
        _movieimg.backgroundColor = [ UIColor redColor];
        [self.contentView addSubview:_movieimg];
        
        
    }return self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    _bottomview.frame = CGRectMake(10, 10, 355, 120);
    _titlelabel.frame =CGRectMake(130, 35, 200, 60);
    _movieimg.frame = CGRectMake(20, 15, 90, 110);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
